package com.zp.bean.common;

import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

/**
 * define Content java bean for web services return which include ContentVo or
 * collection of ContentVo
 * 
 * @author chenlijun08@gmail.com
 * 
 * @version 1.0
 * 
 * @date 2014/2/26
 * 
 */
@XmlRootElement
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class ResultContentVo extends ResultCommonVo {
	private static final long serialVersionUID = 1L;

	private ContentVo content;
	private List<ContentVo> list;

	public ContentVo getContent() {
		return content;
	}

	public void setContent(ContentVo content) {
		this.content = content;
	}

	public List<ContentVo> getList() {
		return list;
	}

	public void setList(List<ContentVo> list) {
		this.list = list;
	}

}
